Optimal. Leaf size=124 \[ -\frac {4}{a^2 \sqrt [3]{x}}+\frac {1}{a \sqrt [3]{x} (a+b x)}+\frac {4 \sqrt [3]{b} \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} a^{7/3}}+\frac {2 \sqrt [3]{b} \log \left (\sqrt [3]{a}+\sqrt [3]{b} \sqrt [3]{x}\right )}{a^{7/3}}-\frac {2 \sqrt [3]{b} \log (a+b x)}{3 a^{7/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 124, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.462, Rules used = {44, 53, 58, 631,
210, 31} \begin {gather*} \frac {4 \sqrt [3]{b} \text {ArcTan}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} a^{7/3}}+\frac {2 \sqrt [3]{b} \log \left (\sqrt [3]{a}+\sqrt [3]{b} \sqrt [3]{x}\right )}{a^{7/3}}-\frac {2 \sqrt [3]{b} \log (a+b x)}{3 a^{7/3}}-\frac {4}{a^2 \sqrt [3]{x}}+\frac {1}{a \sqrt [3]{x} (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 44
Rule 53
Rule 58
Rule 210
Rule 631
Rubi steps
\begin {align*} \int \frac {1}{x^{4/3} (a+b x)^2} \, dx &=\frac {1}{a \sqrt [3]{x} (a+b x)}+\frac {4 \int \frac {1}{x^{4/3} (a+b x)} \, dx}{3 a}\\ &=-\frac {4}{a^2 \sqrt [3]{x}}+\frac {1}{a \sqrt [3]{x} (a+b x)}-\frac {(4 b) \int \frac {1}{\sqrt [3]{x} (a+b x)} \, dx}{3 a^2}\\ &=-\frac {4}{a^2 \sqrt [3]{x}}+\frac {1}{a \sqrt [3]{x} (a+b x)}-\frac {2 \sqrt [3]{b} \log (a+b x)}{3 a^{7/3}}-\frac {2 \text {Subst}\left (\int \frac {1}{\frac {a^{2/3}}{b^{2/3}}-\frac {\sqrt [3]{a} x}{\sqrt [3]{b}}+x^2} \, dx,x,\sqrt [3]{x}\right )}{a^2}+\frac {\left (2 \sqrt [3]{b}\right ) \text {Subst}\left (\int \frac {1}{\frac {\sqrt [3]{a}}{\sqrt [3]{b}}+x} \, dx,x,\sqrt [3]{x}\right )}{a^{7/3}}\\ &=-\frac {4}{a^2 \sqrt [3]{x}}+\frac {1}{a \sqrt [3]{x} (a+b x)}+\frac {2 \sqrt [3]{b} \log \left (\sqrt [3]{a}+\sqrt [3]{b} \sqrt [3]{x}\right )}{a^{7/3}}-\frac {2 \sqrt [3]{b} \log (a+b x)}{3 a^{7/3}}-\frac {\left (4 \sqrt [3]{b}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b} \sqrt [3]{x}}{\sqrt [3]{a}}\right )}{a^{7/3}}\\ &=-\frac {4}{a^2 \sqrt [3]{x}}+\frac {1}{a \sqrt [3]{x} (a+b x)}+\frac {4 \sqrt [3]{b} \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b} \sqrt [3]{x}}{\sqrt [3]{a}}}{\sqrt {3}}\right )}{\sqrt {3} a^{7/3}}+\frac {2 \sqrt [3]{b} \log \left (\sqrt [3]{a}+\sqrt [3]{b} \sqrt [3]{x}\right )}{a^{7/3}}-\frac {2 \sqrt [3]{b} \log (a+b x)}{3 a^{7/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 142, normalized size = 1.15 \begin {gather*} \frac {-\frac {3 \sqrt [3]{a} (3 a+4 b x)}{\sqrt [3]{x} (a+b x)}+4 \sqrt {3} \sqrt [3]{b} \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b} \sqrt [3]{x}}{\sqrt [3]{a}}}{\sqrt {3}}\right )+4 \sqrt [3]{b} \log \left (\sqrt [3]{a}+\sqrt [3]{b} \sqrt [3]{x}\right )-2 \sqrt [3]{b} \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} \sqrt [3]{x}+b^{2/3} x^{2/3}\right )}{3 a^{7/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 124, normalized size = 1.00
method | result | size |
risch | \(-\frac {3}{a^{2} x^{\frac {1}{3}}}-\frac {b \,x^{\frac {2}{3}}}{a^{2} \left (b x +a \right )}+\frac {4 \ln \left (x^{\frac {1}{3}}+\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{3 a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}}}-\frac {2 \ln \left (x^{\frac {2}{3}}-\left (\frac {a}{b}\right )^{\frac {1}{3}} x^{\frac {1}{3}}+\left (\frac {a}{b}\right )^{\frac {2}{3}}\right )}{3 a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}}}-\frac {4 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 x^{\frac {1}{3}}}{\left (\frac {a}{b}\right )^{\frac {1}{3}}}-1\right )}{3}\right )}{3 a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}}}\) | \(121\) |
derivativedivides | \(-\frac {3}{a^{2} x^{\frac {1}{3}}}-\frac {3 b \left (\frac {x^{\frac {2}{3}}}{3 b x +3 a}-\frac {4 \ln \left (x^{\frac {1}{3}}+\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{9 b \left (\frac {a}{b}\right )^{\frac {1}{3}}}+\frac {2 \ln \left (x^{\frac {2}{3}}-\left (\frac {a}{b}\right )^{\frac {1}{3}} x^{\frac {1}{3}}+\left (\frac {a}{b}\right )^{\frac {2}{3}}\right )}{9 b \left (\frac {a}{b}\right )^{\frac {1}{3}}}+\frac {4 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 x^{\frac {1}{3}}}{\left (\frac {a}{b}\right )^{\frac {1}{3}}}-1\right )}{3}\right )}{9 b \left (\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{a^{2}}\) | \(124\) |
default | \(-\frac {3}{a^{2} x^{\frac {1}{3}}}-\frac {3 b \left (\frac {x^{\frac {2}{3}}}{3 b x +3 a}-\frac {4 \ln \left (x^{\frac {1}{3}}+\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{9 b \left (\frac {a}{b}\right )^{\frac {1}{3}}}+\frac {2 \ln \left (x^{\frac {2}{3}}-\left (\frac {a}{b}\right )^{\frac {1}{3}} x^{\frac {1}{3}}+\left (\frac {a}{b}\right )^{\frac {2}{3}}\right )}{9 b \left (\frac {a}{b}\right )^{\frac {1}{3}}}+\frac {4 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 x^{\frac {1}{3}}}{\left (\frac {a}{b}\right )^{\frac {1}{3}}}-1\right )}{3}\right )}{9 b \left (\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{a^{2}}\) | \(124\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 132, normalized size = 1.06 \begin {gather*} -\frac {4 \, b x + 3 \, a}{a^{2} b x^{\frac {4}{3}} + a^{3} x^{\frac {1}{3}}} - \frac {4 \, \sqrt {3} \arctan \left (\frac {\sqrt {3} {\left (2 \, x^{\frac {1}{3}} - \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}}{3 \, \left (\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{3 \, a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}}} - \frac {2 \, \log \left (x^{\frac {2}{3}} - x^{\frac {1}{3}} \left (\frac {a}{b}\right )^{\frac {1}{3}} + \left (\frac {a}{b}\right )^{\frac {2}{3}}\right )}{3 \, a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}}} + \frac {4 \, \log \left (x^{\frac {1}{3}} + \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{3 \, a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.15, size = 156, normalized size = 1.26 \begin {gather*} -\frac {4 \, \sqrt {3} {\left (b x^{2} + a x\right )} \left (\frac {b}{a}\right )^{\frac {1}{3}} \arctan \left (\frac {2}{3} \, \sqrt {3} x^{\frac {1}{3}} \left (\frac {b}{a}\right )^{\frac {1}{3}} - \frac {1}{3} \, \sqrt {3}\right ) + 2 \, {\left (b x^{2} + a x\right )} \left (\frac {b}{a}\right )^{\frac {1}{3}} \log \left (-a x^{\frac {1}{3}} \left (\frac {b}{a}\right )^{\frac {2}{3}} + b x^{\frac {2}{3}} + a \left (\frac {b}{a}\right )^{\frac {1}{3}}\right ) - 4 \, {\left (b x^{2} + a x\right )} \left (\frac {b}{a}\right )^{\frac {1}{3}} \log \left (a \left (\frac {b}{a}\right )^{\frac {2}{3}} + b x^{\frac {1}{3}}\right ) + 3 \, {\left (4 \, b x + 3 \, a\right )} x^{\frac {2}{3}}}{3 \, {\left (a^{2} b x^{2} + a^{3} x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 690 vs.
\(2 (122) = 244\).
time = 88.31, size = 690, normalized size = 5.56 \begin {gather*} \begin {cases} \frac {\tilde {\infty }}{x^{\frac {7}{3}}} & \text {for}\: a = 0 \wedge b = 0 \\- \frac {3}{a^{2} \sqrt [3]{x}} & \text {for}\: b = 0 \\- \frac {3}{7 b^{2} x^{\frac {7}{3}}} & \text {for}\: a = 0 \\- \frac {4 a \sqrt [3]{x} \log {\left (\sqrt [3]{x} - \sqrt [3]{- \frac {a}{b}} \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} + \frac {2 a \sqrt [3]{x} \log {\left (4 x^{\frac {2}{3}} + 4 \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 4 \left (- \frac {a}{b}\right )^{\frac {2}{3}} \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {4 \sqrt {3} a \sqrt [3]{x} \operatorname {atan}{\left (\frac {2 \sqrt {3} \sqrt [3]{x}}{3 \sqrt [3]{- \frac {a}{b}}} + \frac {\sqrt {3}}{3} \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {4 a \sqrt [3]{x} \log {\left (2 \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {9 a \sqrt [3]{- \frac {a}{b}}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {4 b x^{\frac {4}{3}} \log {\left (\sqrt [3]{x} - \sqrt [3]{- \frac {a}{b}} \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} + \frac {2 b x^{\frac {4}{3}} \log {\left (4 x^{\frac {2}{3}} + 4 \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 4 \left (- \frac {a}{b}\right )^{\frac {2}{3}} \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {4 \sqrt {3} b x^{\frac {4}{3}} \operatorname {atan}{\left (\frac {2 \sqrt {3} \sqrt [3]{x}}{3 \sqrt [3]{- \frac {a}{b}}} + \frac {\sqrt {3}}{3} \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {4 b x^{\frac {4}{3}} \log {\left (2 \right )}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} - \frac {12 b x \sqrt [3]{- \frac {a}{b}}}{3 a^{3} \sqrt [3]{x} \sqrt [3]{- \frac {a}{b}} + 3 a^{2} b x^{\frac {4}{3}} \sqrt [3]{- \frac {a}{b}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.52, size = 145, normalized size = 1.17 \begin {gather*} \frac {4 \, b \left (-\frac {a}{b}\right )^{\frac {2}{3}} \log \left ({\left | x^{\frac {1}{3}} - \left (-\frac {a}{b}\right )^{\frac {1}{3}} \right |}\right )}{3 \, a^{3}} + \frac {4 \, \sqrt {3} \left (-a b^{2}\right )^{\frac {2}{3}} \arctan \left (\frac {\sqrt {3} {\left (2 \, x^{\frac {1}{3}} + \left (-\frac {a}{b}\right )^{\frac {1}{3}}\right )}}{3 \, \left (-\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{3 \, a^{3} b} - \frac {4 \, b x + 3 \, a}{{\left (b x^{\frac {4}{3}} + a x^{\frac {1}{3}}\right )} a^{2}} - \frac {2 \, \left (-a b^{2}\right )^{\frac {2}{3}} \log \left (x^{\frac {2}{3}} + x^{\frac {1}{3}} \left (-\frac {a}{b}\right )^{\frac {1}{3}} + \left (-\frac {a}{b}\right )^{\frac {2}{3}}\right )}{3 \, a^{3} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.15, size = 151, normalized size = 1.22 \begin {gather*} \frac {4\,b^{1/3}\,\ln \left (16\,a^{7/3}\,b^{8/3}+16\,a^2\,b^3\,x^{1/3}\right )}{3\,a^{7/3}}-\frac {\frac {3}{a}+\frac {4\,b\,x}{a^2}}{a\,x^{1/3}+b\,x^{4/3}}-\frac {4\,b^{1/3}\,\ln \left (16\,a^{7/3}\,b^{8/3}\,{\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}^2+16\,a^2\,b^3\,x^{1/3}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{3\,a^{7/3}}+\frac {b^{1/3}\,\ln \left (9\,a^{7/3}\,b^{8/3}\,{\left (-\frac {2}{3}+\frac {\sqrt {3}\,2{}\mathrm {i}}{3}\right )}^2+16\,a^2\,b^3\,x^{1/3}\right )\,\left (-\frac {2}{3}+\frac {\sqrt {3}\,2{}\mathrm {i}}{3}\right )}{a^{7/3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________